package com.yhk.wuchat.common.common.event;

import com.yhk.wuchat.common.user.domain.entity.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @version 1.0
 * @Author moresuo
 * @Date 2024/4/16 22:28
 * @注释
 */
@Getter
public class UserOnlineEvent extends ApplicationEvent {
    private User user;
    public UserOnlineEvent(Object source,User user) {
        super(source);
        this.user=user;
    }
}
